home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc20
/
gemfsc20.lzh
/
GEMFBIND
/
VSMHEIGH.S
< prev
next >
Wrap
Text File
|
1993-03-16
|
1KB
|
39 lines
;*========================================================================
;* VDIFAST Public Domain VDI bindings.
;*========================================================================
;*------------------------------------------------------------------------
;* Set polymarker height.
;*------------------------------------------------------------------------
globl _vsm_height
_vsm_height:
; .cargs #8,handle.w,height.w
handle = 8
height = 10
link a6,#-4 ;* Allocate ptsout[2].
move.w height(a6),-(sp) ;* ptsin[1] = height.
clr.w -(sp) ;* ptsin[0] = 0.
move.l sp,a0
; VContrl #19,,#1
move.w handle(a6),-(sp) ; contrl[6]
clr.l -(sp) ; contrl[5,4]
clr.l -(sp) ; contrl[3,2]
move.w #1,-(sp) ; contrl[1]
move.w #19,-(sp) ; contrl[0]
pea -4(a6) ;* -> ptsout
subq.l #4,sp ;* -> intout
move.l a0,-(sp) ;* -> ptsin
subq.l #4,sp ;* -> intin
pea 16(sp) ;* -> contrl
jmp vdicall ;* Do it, return ptsout[1].
end